package by.alex.dzeshko.facebooksuperclient.providers.contract;

import android.net.Uri;
import android.provider.BaseColumns;
import by.alex.dzeshko.facebooksuperclient.R;

public class FbContract {

	public static final String AUTHORITY = "by.alex.dzeshko.facebooksuperclient.providers.";
	
	public static final String NEWS = "NEWS";
	
	private static final String PROFILE = "P";
	
	public FbContract(){}

	public static String profileId(String id){
		return PROFILE + id;
	}
	
	public static final class FeedColumns implements BaseColumns {
		
		private FeedColumns() {
		}

		public static final Uri CONTENT_URI = Uri.parse("content://" +	AUTHORITY + "FbContentProvider/feed_items");
		
		public static final String CONTENT_TYPE = "vnd.android.cursor.dir/feed_items";

		public static final String ITEM_ID = _ID;

		public static final String FROM_NAME = "FROM_NAME";
		
		public static final String FROM_ID = "FROM_ID";
		
		public static final String NEWS_TYPE = "NEWS_TYPE";

		public static final String MESSAGE = "MESSAGE";

		public static final String CREATED_TIME = "CREATED_TIME";
		
		public static final String LIKES_COUNT = "LIKES_COUNT";

		public static final String COMMENTS_COUNT = "COMMENTS_COUNT";
		
		public static final String STORY = "STORY";

		public static final String CAPTION = "CAPTION";

		public static final String CONTENT_PICTURE = "CONTENT_PICTURE";

		public static final String COMMENT_LINK = "COMMENT_LINK";

		public static final String LIKE_LINK = "LIKE_LINK";

		public static final String USER_PICTURE_URL = "PICTURE_URL";
		
		public static final String TABLE_TYPE = "TABLE_TYPE";

	}
	
	public static final class FriendsColumns implements BaseColumns {
		
		private FriendsColumns() {
		}
		
		public static final Uri FRIENDS_CONTENT_URI = Uri.parse("content://" +
				AUTHORITY + "FbFriendsProvider/friends");
		
		public static final String FRIENDS_CONTENT_TYPE = "vnd.android.cursor.dir/friends";

		public static final String ITEM_ID = _ID;

		public static final String FRIEND_NAME = "FRIEND_NAME";
		
		public static final String PICTURE_URL = "PICTURE_URL";
		
	}

	public static final class UserProfileColumns implements BaseColumns {
		
		private UserProfileColumns() {
		}

		public static final Uri USER_PROFILE_CONTENT_URI = Uri.parse("content://" +
				AUTHORITY + "FbUserProfileProvider/user_profile");

		public static final String USER_PROFILE_CONTENT_TYPE = "vnd.android.cursor.dir/user_profile";

		public static final String ITEM_ID = _ID;

		public static final String NAME = "NAME";
		
		public static final String USER_NAME = "USER_NAME";
		
		public static final String BIRTHDAY = "BIRTHDAY";
		
		public static final String HOMETOWN = "HOMETOWN";
		
		public static final String LOCATION = "LOCATION";
		
		public static final String BIO = "BIO";
		
		public static final String EDUCATION = "EDUCATION";
		
		public static final String GENDER = "GENDER";
		
		public static final String INTERESTED_IN = "INTERESTED_IN";
		
		public static final String RELATIONSHIP_STATUS = "RELATIONSHIP_STATUS";
		
		public static final String RELIGION = "RELIGION";
		
		public static final String POLITICAL = "POLITICAL";
		
		public static final String PICTURE_URL = "PICTURE_URL";
		
		public static final String TIME_ZONE = "TIME_ZONE";
		
		public static final String LOCALE = "LOCALE";
		
		public static final String LANGUAGES = "LANGUAGES";

		public static final String UPDATED_TIME = "UPDATED_TIME";

	}

}
